package top.archiesean.id.service;

import java.util.List;
import java.util.Set;

/**
 * @author ArchieSean
 * @description service层
 * @date 2024-01-13 08:27
 */
public interface IId {


    /**
     * 获取id
     *
     * @return long
     */
    Long getId();

    /**
     * 用于批量生成id
     *
     * @param num id
     * @return set
     */
    List<Long> getId(int num);
}
